package edu.sctu.practice.class02.shuqiqi.test08;

/**
 * Created by admin on 2015/10/15.
 */
public class Truck extends Vehicles {
    float load;

    public Truck(String brand, String color, float load) {

        super(brand, color);
        this.load=load;
    }

    public void showTruck() {
        System.out.println("商标："+brand+"\n颜色："+color+"\n载重："+load);
    }
}
